<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>添加客户
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default" ng-click="addSupport.save()" ng-disabled="addCustomerForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" style="clear: both">
		<li class="active"><a data-target="#addCarBaseInfo" data-toggle="tab">基本信息</a></li>
	</ul>
	<div class="tab-content">
		<div class="tab-pane active">
			<form id="addCustomerForm" name="addCustomerForm">
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull">*</span>部门:</label>
							<div class="col-md-8 col-sm-10">
								<input id="deptName" name="deptName" type="text" class="form-control">
								<input name="deptId" type="hidden" class="form-control" ng-model="addSupport.entity.deptId" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addCustomerForm.deptId.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>联系人:</label>
							<div class="col-md-8 col-sm-10">
								<input name="personName" type="text" class="form-control" ng-model="addSupport.entity.personName" ng-maxlength="32" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addCustomerForm.personName.$dirty && addCustomerForm.personName.$valid"></span>
								<span class="error_tips" ng-show="addCustomerForm.name.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>联系电话:
							</label>
							<div class="col-md-8 col-sm-10">
								<input name="personPhone" type="text" class="form-control" ng-model="addSupport.entity.personPhone" ng-pattern="/(^$)|^(((\+86)|(86))?1[34578]\d{9})$/" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addCustomerForm.personPhone.$dirty && addCustomerForm.personPhone.$valid"></span>
								<span class="error_tips" ng-show="addCustomerForm.personPhone.$error.pattern">电话格式不正确！</span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>